package com.hui.entity.dao;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户表(EshopUser)表实体类
 *
 * @author hui
 * @since 2022-07-11 17:37:54
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("eshop_user")
public class ShopUser extends BaseDomain {
    //用户id
    @TableId
    private Long uid;
    //用户账户(跟手机号码一样)
    private String username;
    //用户密码（跟pwd）
    private String password;
    //真实姓名
    private String realName;
    //生日
    private Integer birthday;
    //身份证号码
    private String cardId;
    //用户备注
    private String mark;
    //合伙人id
    private Integer partnerId;
    //用户分组id
    private Integer groupId;
    //用户昵称
    private String nickname;
    //用户头像
    private String avatar;
    //手机号码
    private String phone;
    //添加ip
    private String addIp;
    //添加时间
    private Date createTime;
    //最后一次登录时间
    private Date updateTime;
    //最后一次登录ip
    private String lastIp;
    //用户余额
    private BigDecimal nowMoney;
    //佣金金额
    private BigDecimal brokeragePrice;
    //用户剩余积分
    private BigDecimal integral;
    //连续签到天数
    private Integer signNum;
    //1为正常，0为禁止
    private Integer status;
    //等级
    private Integer level;
    //推广元id
    private Long spreadUid;
    //推广员关联时间
    private Date spreadTime;
    //用户类型
    private String userType;
    //是否为推广员
    private Integer isPromoter;
    //用户购买次数
    private Long payCount;
    //下级人数
    private Integer spreadCount;
    //详细地址
    private String addres;
    //管理员编号 
    private Long adminid;
    //用户登陆类型，h5,wechat,routine
    private String loginType;
    //微信用户json信息
    private String wxProfile;

}

